<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
 String chartUrl = (String)request.getAttribute("chartUrl");
%>

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>手机零件供销平台——查看零件统计信息</title>
		<link rel="stylesheet" rev="stylesheet" href="css/battery_style.css"
			type="text/css" media="screen" />
		<link href="css/leftmenu_style.css" media="all" rel="stylesheet"
			type="text/css" />
		<link rel="stylesheet" type="text/css" media="screen"
			href="css/menu_style.css" />
		<script language="javascript" type="text/javascript"
			src="js/jquery-1.3.2.min.js"></script>
		<script language="javascript" type="text/javascript"
			src="js/petshopbox.js"></script>
		<script type="text/javascript" src="js/tools.plugin.js"></script>
		<script type="text/javascript" src="js/battery.js"></script>
	</head>

	<body>
	<div id="header">
			<div id="headerLogo"></div>
			<div id="headerAction">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
		          <tr>
		            <td width="33" height="27"><img src="images/main_05.gif" width="33" height="27" /></td>
		            <td width="248" background="images/main_06.gif"><table width="225" border="0" align="center" cellpadding="0" cellspacing="0">
		              <tr>
		                <td><div align="right" class="noADiv"><a href="userAction.do?method=logout"><img src="images/quit.gif" width="69" height="17" style="border: 0px;"/></a></div></td>
		              </tr>
		            </table></td>
		          </tr>
		        </table>
			</div>		
		</div>
		
		<div id="container">
			<!-- 菜单-->
			<div id="menuBarDad">
			<div id="menuBar">
				<logic:notEmpty name="onlineAdmin">
					<ul id="nav">
						<li class="nav-service">
							<a href="adminAction.do?method=searchAllCompany">企业信息</a>
						</li>
						<li class="nav-work">
							<a href="adminAction.do?method=searchAllCustomer">个人信息</a>
						</li>
						<li>
							<a href="adminAction.do?method=searchAllComponent">零件信息</a>
						</li>
						<li>
							<a href="adminAction.do?method=searchAllSupplyInfo">供应信息</a>
						</li>
						<li>
							<a href="adminAction.do?method=searchAllBuyInfo">求购信息</a>
						</li>
					</ul>
				</logic:notEmpty>
			</div>
		
			</div>

			<!-- 正文展示区 -->
			<div id="mainDisplay">
				<!-- 查询区-->
				<div id="searchSpace">
					<table width="100%">
						<tr>
							<logic:notEmpty name="onlineAdmin">
								<td align="left">
									当前登录用户:
									<bean:write name="onlineAdmin" property="userName"/>
									&nbsp;&nbsp;用户角色：系统管理员
								</td>
							</logic:notEmpty>
							<td align="right">现在系统时间为：
							<SCRIPT type="text/javascript">    
							var myDate = new Date();    
							document.write(myDate.getFullYear()+"-"+(myDate.getMonth()+1)+"-"+myDate.getDate()+" "+ myDate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds()); 
							</SCRIPT> 
							</td>
						</tr>
					</table>
				</div>
				
				
				<logic:notEmpty name="onlineAdmin">
					<!-- 左侧菜单 -->
					<div id="leftFrame">
						<div style="margin-top: 50px;">
							<div id="dlmenu">
								<ul id="menu">
									<li>
										<dl class="gallery">
											<dt>
												<a href="adminAction.do?method=searchAllCompany">企业信息管理</a>
											</dt>
											<dd>
												<a href="adminAction.do?method=searchAllCompany">查询所有</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getAuditedCompany">已审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDisAuditCompany">未审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDeletedCompany">已删除</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getExsitedCompany">未删除</a>
											</dd>
										</dl>
									</li>
									<li>
										<dl class="gallery">
											<dt>
												<a href="adminAction.do?method=searchAllCustomer">个人信息管理</a>
											</dt>
											<dd>
												<a href="adminAction.do?method=searchAllCustomer">查询所有</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getAuditedPerson">已审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDisAuditPerson">未审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDeletedPerson">已删除</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getExsitedPerson">未删除</a>
											</dd>
										</dl>
									</li>
									<li>
										<dl class="gallery">
											<dt>
												<a href="adminAction.do?method=searchAllComponent">零件信息管理</a>
											</dt>
											<dd>
												<a href="adminAction.do?method=searchAllComponent">查询所有</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getAuditedComponent">已审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDisAuditComponent">未审核</a>
											</dd>
										</dl>
									</li>
									<li>
										<dl class="gallery">
											<dt>
												<a href="FreeChart.do">查看零件统计</a>
											</dt>
										</dl>
									</li>
									<li>
										<dl class="gallery">
											<dt>
												<a href="adminAction.do?method=searchAllSupplyInfo">供应信息管理</a>
											</dt>
											<dd>
												<a href="adminAction.do?method=searchAllSupplyInfo">查询所有</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getAuditedSupplyInfo">已审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDisAuditSupplyInfo">未审核</a>
											</dd>
										</dl>
									</li>
									<li>
										<dl class="gallery">
											<dt>
												<a href="adminAction.do?method=searchAllBuyInfo">求购信息管理</a>
											</dt>
											<dd>
												<a href="adminAction.do?method=searchAllBuyInfo">查询所有</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getAuditedBuyInfo">已审核</a>
											</dd>
											<dd>
												<a href="adminAction.do?method=getDisAuditBuyInfo">未审核</a>
											</dd>
										</dl>
									</li>
								</ul>
							</div>
						</div>
					</div>

					<!-- 右侧显示区 -->
					<div id="rightFrame">
						<center>
							<img src="${graphURL }" width="500" height="300" border="0"
								usemap="#${filename}">
						</center>
					</div>
				</logic:notEmpty>

			</div>
			<%@include file="common/footer.jsp"%>
		</div>
	</body>
</html>

